#ifndef _IOCPSERVER_H_INCLUDED_
#define _IOCPSERVER_H_INCLUDED_

#include "server_logic_pt.h"
#include "server.h"

#ifdef  __cplusplus
extern "C" {
#endif

struct server_s* iocpserver_new(
    int num, 
    logic_on_enter_pt logic_on_enter, 
    logic_on_close_pt logic_on_close, 
    logic_on_recved_pt logic_on_recved, 
    int recv_buffer_size, 
    int send_buffer_size,
    int port);

void iocpserver_delete(struct server_s* self);

#ifdef  __cplusplus
}
#endif

#endif
